package com.bwie.api;

import com.bwie.pojo.Brand;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @program: day0423-pxx
 * @ClassName BrandApi
 * @description:
 * @author: 段阳
 * @create: 2024-05-10 09:38
 **/
@RequestMapping("/item/brand")
public interface BrandApi {
    /**
     * 根据商品分类的id查询商品分类的信息
     * @param id
     * @return
     */
    @RequestMapping("/queryBrandNameByBrandId")
    Brand queryBrandNameByBrandId(@RequestParam("id") Long id);
}